import school from './school.vue'
import schoolAdd from './schoolAdd.vue'
import schoolEdit from './schoolEdit.vue'
import schoolSearch from './schoolSearch.vue'
import schoolView from './schoolView.vue'
const components = [
  school,
  schoolAdd,
  schoolEdit,
  schoolSearch,
  schoolView
]

const main = {
  install(Vue) {
    components.map((component) => {
      Vue.component(component.name, component)
    })
  }
}
export default main
